<?php

$host = @$_POST['host'] ;
$username = @$_POST['username'] ;
$password = @$_POST['password'] ;
$databaseName  = @$_POST['databaseName'] ;
$Year = @$_POST['year'] ;
$matk = @$_POST['matk'] ;
$mysql = "INSERT INTO SDTT".$Year."  SET matk='". $matk. "'";


$con = mysql_connect($host, $username ,$password);
if (!$con)
  {
  die('Could not connect: ' . mysql_error());
  }

mysql_select_db($databaseName, $con);

mysql_query($mysql);
mysql_close($con);


?> 

